import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/company_and_system_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/company_and_system_entity.g.dart';

@JsonSerializable()
class CompanyAndSystemEntity {
	int? companyId;
	String? companyName;
	int? systemId;
	String? systemName;

	CompanyAndSystemEntity();

	factory CompanyAndSystemEntity.fromJson(Map<String, dynamic> json) => $CompanyAndSystemEntityFromJson(json);

	Map<String, dynamic> toJson() => $CompanyAndSystemEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}